<template>
  <div class="heade">
    <div>
      <van-icon name="arrow-left" class="left" @click="$router.back()" />
      <p>{{title}}</p>
    </div>
  </div>
</template>

<script>
export default {
  props: ["title"],
  methods: {
    normalClick() {
      console.log("被点击了");
      this.$emit("click");
    },
  },
};
</script>

<style lang="less" scoped>
.heade {
  div {
    .left {
      font-size: 16/360 * 100vw;
    }
    display: flex;
    padding: 20/360 * 100vw;
    p {
      margin: 0 auto;
      font-weight: 700;
      font-size: 16/360 * 100vw;
      padding-right: 12/360 * 100vw;
    }
  }
}
</style>